package security;

import java.io.Serializable;

public class PublicCert implements Serializable {
	private String name;
	private byte[] pubkey;
	private byte[] digest;
	
	public PublicCert(String name, byte[] pubkey, byte[] digest){
		this.name = name;
		this.pubkey = pubkey;
		this.digest = digest;
	}
	
	public String getName(){
		return name;
	}
	
	public byte[] getPublicKey(){
		return pubkey;
	}
	
	public byte[] getDigest(){
		return digest;
	}
}
